<?php
return [
    /* 图片上传相关配置 */
    'picture' => array(
        'mimes' => '', // 允许上传的文件MiMe类型
        'maxSize' => 2 * 1024 * 1024, // 上传的文件大小限制 (0-不做限制)
        'exts' => 'jpg,gif,png,jpeg', // 允许上传的文件后缀
        'savePath' => getcwd(). DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR. 'local'.DIRECTORY_SEPARATOR.'picture'.DIRECTORY_SEPARATOR, // 保存路径
        'rootPath' => DIRECTORY_SEPARATOR. 'local'.DIRECTORY_SEPARATOR.'picture'.DIRECTORY_SEPARATOR // url访问的根路径;
    ),
];
